/* 基础样式 */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffebd7; /* 淡红色背景，营造节日氛围 */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffebd7, #ffffff);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 166, 0, 0.5);
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

header {
    margin-bottom: 20px;
}

header h1 {
    font-size: 28px;
    color: #d32f2f; /* 红色标题 */
}

header p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 表单样式 */
.shorten-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #d32f2f; /* 红色按钮 */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #9e1b1b;
}

/* 结果样式 */
.result_div {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

#shortUrl {
    display: block;
    margin-top: 5px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

/* 底部样式 */
footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    bottom: 0;
}

footer p {
    font-size: 12px;
    color: #666;
}
